import request from '@/utils/request'
const url = '/supervise/getEquipInfo'

/**
 * 1. equipId
 * 2. equipName
 * 3. equipIdentify
 * 4. modiStart
 * 5. modiEnd
 * 6. province
 * 7. city
 * 8. pageSize
 * 9. pageIndex
 */

export function req(params) {
  if (!params) {
    params = {
      pageSize: 10,
      pageIndex: 1
    }
  }
  return request({
    url,
    data: params,
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
